package com.jucai.pppeiyouclient.bean;

import com.jucai.pppeiyouclient.utils.LogUtils;

/**
 * Created by Kuky on 2017-05-05.
 */

public class CoinRecordBean {

    /**
     * credit_log_id : 108
     * credit_log_type : 1
     * credit_log_num : -0.02
     * credit_log_time : 2017-05-09 21:52:29
     * credit_log_content : 发起负数活动，扣除押金
     * credit_log_operator_role : 1
     * credit_log_uid : 138
     * credit_log_operator_id : 139
     * credit_log_operator_name : 用户
     * credit_log_member_name : 用户
     * credit_log_order_sn : AC1494337949713690
     * credit_log_change_way : 4
     */

    private String credit_log_id;
    private String credit_log_type;
    private String credit_log_num;
    private String credit_log_time;
    private String credit_log_content;
    private String credit_log_operator_role;
    private String credit_log_uid;
    private String credit_log_operator_id;
    private String credit_log_operator_name;
    private String credit_log_member_name;
    private String credit_log_order_sn;
    private String credit_log_change_way;

    @Override
    public String toString() {
        return "CoinRecordBean{" +
                "credit_log_id='" + credit_log_id + '\'' +
                ", credit_log_type='" + credit_log_type + '\'' +
                ", credit_log_num='" + credit_log_num + '\'' +
                ", credit_log_time='" + credit_log_time + '\'' +
                ", credit_log_content='" + credit_log_content + '\'' +
                ", credit_log_operator_role='" + credit_log_operator_role + '\'' +
                ", credit_log_uid='" + credit_log_uid + '\'' +
                ", credit_log_operator_id='" + credit_log_operator_id + '\'' +
                ", credit_log_operator_name='" + credit_log_operator_name + '\'' +
                ", credit_log_member_name='" + credit_log_member_name + '\'' +
                ", credit_log_order_sn='" + credit_log_order_sn + '\'' +
                ", credit_log_change_way='" + credit_log_change_way + '\'' +
                '}';
    }

    public String getCredit_log_id() {
        return credit_log_id;
    }

    public void setCredit_log_id(String credit_log_id) {
        this.credit_log_id = credit_log_id;
    }

    public String getCredit_log_type() {
        return credit_log_type;
    }

    public void setCredit_log_type(String credit_log_type) {
        this.credit_log_type = credit_log_type;
    }

    public String getCredit_log_num() {
        if(credit_log_num.contains(".00")){
            credit_log_num = credit_log_num.substring(0,credit_log_num.length()-3);
        }
        return credit_log_num;
    }

    public void setCredit_log_num(String credit_log_num) {
        this.credit_log_num = credit_log_num;
    }

    public String getCredit_log_time() {
        return credit_log_time;
    }

    public void setCredit_log_time(String credit_log_time) {
        this.credit_log_time = credit_log_time;
    }

    public String getCredit_log_content() {
        return credit_log_content;
    }

    public void setCredit_log_content(String credit_log_content) {
        this.credit_log_content = credit_log_content;
    }

    public String getCredit_log_operator_role() {
        return credit_log_operator_role;
    }

    public void setCredit_log_operator_role(String credit_log_operator_role) {
        this.credit_log_operator_role = credit_log_operator_role;
    }

    public String getCredit_log_uid() {
        return credit_log_uid;
    }

    public void setCredit_log_uid(String credit_log_uid) {
        this.credit_log_uid = credit_log_uid;
    }

    public String getCredit_log_operator_id() {
        return credit_log_operator_id;
    }

    public void setCredit_log_operator_id(String credit_log_operator_id) {
        this.credit_log_operator_id = credit_log_operator_id;
    }

    public String getCredit_log_operator_name() {
        return credit_log_operator_name;
    }

    public void setCredit_log_operator_name(String credit_log_operator_name) {
        this.credit_log_operator_name = credit_log_operator_name;
    }

    public String getCredit_log_member_name() {
        return credit_log_member_name;
    }

    public void setCredit_log_member_name(String credit_log_member_name) {
        this.credit_log_member_name = credit_log_member_name;
    }

    public String getCredit_log_order_sn() {
        return credit_log_order_sn;
    }

    public void setCredit_log_order_sn(String credit_log_order_sn) {
        this.credit_log_order_sn = credit_log_order_sn;
    }

    public String getCredit_log_change_way() {
        return credit_log_change_way;
    }

    public void setCredit_log_change_way(String credit_log_change_way) {
        this.credit_log_change_way = credit_log_change_way;
    }
}
